﻿using System.ComponentModel.DataAnnotations;

namespace MES.Server.API.Dto.ApprovalProcess
{
    public class ConfigurationNodeDTO
    {
        /// <summary>
        /// 所属流程ID
        /// </summary>
        public long processId { get; set; }
        /// <summary>
        /// 节点名称
        /// </summary>
        [StringLength(255)]
        public string nodeName { get; set; }
        /// <summary>
        /// 节点类型    1:开始、2:审批、3:结束 
        /// </summary>
        public int nodeType { get; set; }
        /// <summary>
        /// 上节点ID
        /// </summary>
        public long? prevnodeId { get; set; }
        /// <summary>
        /// 下节点ID
        /// </summary>
        public long? nextnodeId { get; set; }
        /// <summary>
        /// 节点描述
        /// </summary>
        [StringLength(1000)]
        public string nodeDescription { get; set; }
        /// <summary>
        /// 审批时限（小时）
        /// </summary>
        public int? timeLimit { get; set; }
    }
}
